page {
    background: #fff;
}

.banner {
    width: 100%;
    height: 444rpx;
    display: block;
}

.group-top {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: linear-gradient(270deg, rgba(252, 229, 192, 1) 0%, rgba(215, 176, 130, 1) 100%);
    height: 160rpx;
    margin: -80rpx 20rpx 0 20rpx;
    border-radius: 8rpx;

    .group-avatar {
        margin-left: 38rpx;
        width: 120rpx;
        height: 120rpx;
        background: rgba(219, 219, 219, 1);
        box-shadow: 0px 4rpx 10rpx 0px rgba(0, 0, 0, 0.18);
        border-radius: 50%;
    }

    .group-name {
        font-size: 32rpx;
        font-weight: bold;
        color: #333333;
        margin-left: 24rpx;
    }
}

// .group-top {
//     display: flex;
//     align-items: center;
//     padding: 0 60rpx;
//     box-sizing: border-box;
//     margin-top: -94rpx;

//     .group-avatar {
//         width: 120rpx;
//         height: 120rpx;
//         background: rgba(219, 219, 219, 1);
//         box-shadow: 0px 4rpx 10rpx 0px rgba(0, 0, 0, 0.18);
//         border-radius: 50%;
//     }

//     .group-name {
//         font-size: 32rpx;
//         font-weight: bold;
//         color: rgba(255, 255, 255, 1);
//         margin-left: 24rpx;
//     }
// }

.main-business {
    padding: 40rpx 30rpx 16rpx 30rpx;
    box-sizing: border-box;
    widows: 100%;
    background: #ffffff;
    border-radius: 8rpx;
    margin: 30rpx 20rpx 0 20rpx;

    .mainbusiness-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #666666;
        padding-left: 24rpx;
        position: relative;

        &::before {
            position: absolute;
            content: "";
            left: 0;
            top: 0;
            bottom: 0;
            margin: auto 0;
            width: 8rpx;
            height: 28rpx;
            background: #00a59e;
            border-radius: 4rpx;
        }
    }

    .range {
        view {
            &:nth-of-type(1) {
                font-size: 28rpx;
                color: #666666;
                height: 60rpx;
                margin-top: 20rpx;
                display: flex;
                align-items: center;
            }

            &:nth-of-type(2) {
                font-size: 28rpx;
                color: #333333;
            }
        }
    }


}

.recommend-good {
    padding: 10rpx 30rpx;
    box-sizing: border-box;

    .title {
        height: 90rpx;
        display: flex;
        align-items: center;
        justify-content: center;

        view {
            &:nth-of-type(1) {
                width: 92rpx;
                height: 2rpx;
                background: #bebebe;
                margin-right: 26rpx;
            }

            &:nth-of-type(2) {
                font-size: 30rpx;
                font-weight: bold;
                color: #666;
                margin-right: 24rpx;
                line-height: 30rpx;
            }

            &:last-child {
                width: 92rpx;
                height: 2rpx;
                background: #bebebe;
            }
        }

        image {
            margin-right: 10rpx;
            width: 34rpx;
            height: 32rpx;
        }
    }

    .recommend-goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .goods-item:nth-of-type(2n) {
            margin-right: 0;

        }

        .goods-item {
            // flex: 1;
            // height: 530rpx;
            width: 336rpx;
            margin-bottom: 20rpx;
            // margin-right: 16rpx;

            image {
                border: 2rpx solid #dbdbdb;
                border-radius: 12rpx 12rpx 0px 0px;
                
                display: flex;
                width: 99%;
                height: 320rpx;
                border-radius: 12rpx 12rpx 0px 0px;
            }

            .goods-info {
                width: 100%;
                height: 241rpx;
                background: #ffffff;
                border-radius: 0px 0px 12rpx 12rpx;
                padding: 20rpx 22rpx;
                box-sizing: border-box;
                border: 1rpx solid rgba(219, 219, 219, 1);

                .goods-title {
                    font-size: 30rpx;
                    color: #666666;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    height: 80rpx;
                }

                .integral {
                    // height: 90rpx;
                    margin-top: 10rpx;

                    .num {
                        font-size: 30rpx;
                        color: #fb3319;
                        flex: 1;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;

                        word-break: break-all;
                    }

                    .exchange {
                        width: 136rpx;
                        height: 44rpx;
                        background: linear-gradient(224deg, rgba(102, 102, 102, 1) 0%, rgba(68, 68, 68, 1) 100%);
                        border-radius: 0px 20rpx 0px 20rpx;
                        font-size: 28rpx;
                        color: #FFC875;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: auto;
                        margin-top: 20rpx;
                    }
                }
            }
        }

    }
}

.news {

    padding: 0 0 24rpx 0;
    box-sizing: border-box;

    .title {
        padding: 0 20rpx;
        box-sizing: border-box;
        height: 90rpx;
        display: flex;
        align-items: center;
        font-size: 28rpx;
        font-weight: bold;
        color: #ffffff;
        justify-content: space-between;
        view {
            display: flex;
            align-items: center;
            &:nth-of-type(2) {
                color: #333333;
                margin-left: 10rpx;
            }
        }

        .orange-bg {
            padding: 3rpx 10rpx;
            box-sizing: border-box;
            background: #ff6438;
            border-radius: 0px 16rpx 0px 16rpx;

        }
        .more-news{
            display: flex;
            justify-content: center;
            color: rgb(102, 102, 102) !important;

            height: 60rpx;
            border-radius: 40rpx;
            font-weight: normal;
        }
    }

    .swipercontent {
        position: relative;

        .dots {
            position: absolute;
            // left: 0;
            right: 58rpx;
            bottom: 88rpx;
            display: flex;
            justify-content: center;
        }

        .dot {
            margin: 0 8rpx;
            width: 18rpx;
            height: 18rpx;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            transition: all .6s;
        }

        .dot.active {
            width: 18rpx;
            background: #fff;
        }

        .news-list {
            width: 100%;
            white-space: nowrap;
            display: flex;
            padding: 0 30rpx;
            box-sizing: border-box;
            height: 372rpx;

            .news-item:last-child {
                margin-right: 30rpx;
            }

            .news-item {
                // width: 490rpx;
                display: inline-block;
                height: 372rpx;
                background: linear-gradient(261deg, rgba(253, 239, 213, 1) 0%, rgba(249, 218, 172, 1) 100%);

                .news-img {
                    width: 100%;
                    height: 300rpx;
                    object-fit: cover;
                    border-radius: 8rpx;
                    display: block;
                }

                .news-title {
                    height: 72rpx;
                    padding: 0 30rpx;
                    box-sizing: border-box;
                    font-size: 28rpx;
                    color: #333333;
                    text-overflow: -o-ellipsis-lastline;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    // display: -webkit-box;
                    -webkit-line-clamp: 1;
                    line-height: 72rpx;

                }
            }
        }
    }
}

.contact-info {
    padding: 40rpx 30rpx;
    box-sizing: border-box;
    margin: 0 20rpx 30rpx 20rpx;
    background: #ffffff;
    border-radius: 8rpx;

    .contact-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #666666;
        padding-left: 24rpx;
        position: relative;

        &::before {
            position: absolute;
            content: "";
            left: 0;
            top: 0;
            bottom: 0;
            margin: auto 0;
            width: 8rpx;
            height: 28rpx;
            background: #00a59e;
            border-radius: 4rpx;
        }
    }

    .telphone {
        height: 70rpx;
        display: flex;
        align-items: flex-end;
        font-size: 28rpx;
        color: #999999;
    }

    .service-time {
        height: 70rpx;
        display: flex;
        align-items: flex-end;
        font-size: 28rpx;
        color: #999999;
    }
}

.project-info {
    margin: 0 20rpx 104rpx 20rpx;
    padding: 30rpx 30rpx 0 30rpx;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
    border-radius: 8rpx;

    .project-title {
        font-size: 32rpx;
        font-weight: bold;
        color: #666666;
        padding-left: 24rpx;
        position: relative;
        margin-bottom: 10rpx;

        &::before {
            position: absolute;
            content: "";
            left: 0;
            top: 0;
            bottom: 0;
            margin: auto 0;
            width: 8rpx;
            height: 28rpx;
            background: #00a59e;
            border-radius: 4rpx;
        }
    }

    .project {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 162rpx;
        border-bottom: 2rpx solid #dbdbdb;

        .lt {
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .name {
                font-size: 32rpx;
                color: #333333;
                line-height: 60rpx;
                display: flex;
                align-items: center;
                text-overflow: -o-ellipsis-lastline;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 1;
            }

            .address {
                font-size: 28rpx;
                color: #999999;
                // height: 60rpx;
                display: flex;
                align-items: center;
                text-overflow: -o-ellipsis-lastline;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                
            }
        }

        .logo {
            width: 100rpx;
            height: 100rpx;
            border-radius: 50%;
            margin-right: 10rpx;
        }

        .phone {
            margin-right: 40rpx;
            border-radius: 50%;
            width: 52rpx;
            height: 52rpx;
        }

        .location {
            border-radius: 50%;
            width: 56rpx;
            height: 56rpx;
        }
    }

    .project:last-child {
        border-bottom: 0;
    }
}

.pop-window {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;

    .pop {
        width: 520rpx;
        height: 600rpx;
        background: #fff;
        border-radius: 8rpx;
        padding: 50rpx;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        flex-direction: column;

        .unlogin {
            font-size: 32rpx;
            color: #333;
        }

        .pleaselogin {
            margin-top: 10rpx;
            font-size: 30rpx;
            color: #999;
        }

        .icon {
            margin-top: 48rpx;
            width: 354rpx;
            height: 212rpx;
        }

        .choose {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 56rpx;

            .zanbu {
                width: 190rpx;
                height: 60rpx;
                border-radius: 31rpx;
                border: 2rpx solid #dda661;
                font-size: 30rpx;
                color: #DDA661;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .liji {
                width: 192rpx;
                height: 62rpx;
                background: #E2B884;
                border-radius: 31rpx;
                font-size: 30rpx;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
            }

        }
    }
}

.no-have-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
    width: 100%;
    margin: 50rpx 0;

    .no-have-data {
        width: 320rpx;
        height: 200rpx;
        margin-bottom: 20rpx;
    }
}

.no-have-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 32rpx;
    color: rgba(102, 102, 102, 1);
    width: 100%;
    margin: 50rpx 0;

    .no-have-data {
        width: 320rpx;
        height: 200rpx;
        margin-bottom: 20rpx;
    }
}